package com.zhixiang.xaec.service.safebase.safecultruetrain.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhixiang.core.dao.BaseDao;
import com.zhixiang.core.service.impl.BaseServiceImpl;
import com.zhixiang.xaec.dao.safebase.safecultruetrain.ImportPositionDao;
import com.zhixiang.xaec.entity.safebase.safecultruetrain.ImportPosition;
import com.zhixiang.xaec.service.safebase.safecultruetrain.ImportPositionService;

@Service
public class ImportPositionServiceImpl extends BaseServiceImpl<ImportPosition,Long> implements ImportPositionService{


	@Override
	@Resource(type=ImportPositionDao.class)
	public void setBaseDao(BaseDao<ImportPosition, Long> dao) {
		setDao(dao);
		
	}

	@Override
	public void delete(String[] ids) {
		 for(String id:ids){
	         getDao().remove(Long.valueOf(id));
	       }
		
		
	}

}
